<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/5/21 0021
 * Time: 15:35
 */
return [
    //这路由就是垃圾 WDNMD
    "URL_ROUTER_ON"  => true,
    'URL_ROUTE_RULES'=>array(
        'store/:id\d$'          => 'Store/read',
        'user_message$' => 'UserMessage/index',
        'user_message/create$' => 'UserMessage/save',
        'user_message/:id\d' => 'UserMessage/read',
        'user_message/delete/:id\d' => 'UserMessage/delete',
        'user_message/delete_list/:id\d' => 'UserMessage/deleteList',
        'user_message/delete_all' => 'UserMessage/deleteAll',
        'shop_fans/:id\d' => 'ShopFans/read',
        'order$' => 'Order/index',
        'order/:id\d' => 'Order/read',
        'order/create$' => 'Order/save',
        'order/pay$' => 'Order/pay',
        'order/pay_success$' => 'Order/paySuccess',
        'shop_order$' => 'ShopOrder/index',
        'shop_order/:id\d' => 'ShopOrder/read',
        'red_packet/draw$' => 'RedPacket/save',
    ),
    /* SESSION 和 COOKIE 配置 */
    'SESSION_PREFIX' => 'lianxiang_api', //session前缀
];